package com.walkline.weibo.dao;

import org.json.me.JSONObject;
import com.walkline.weibo.WeiboException;
import com.walkline.weibo.WeiboSDK;

public class WeiboObject implements com.walkline.weibo.inf.Object
{
	protected WeiboSDK weibo;
	protected JSONObject jsonObject;

	public WeiboObject(WeiboSDK weibo, JSONObject jsonObject) throws WeiboException
	{
		if ((weibo == null) || (jsonObject == null))
		{
			throw new WeiboException("Unable to create WeiboSDK Object.");
		}

		this.weibo = weibo;
		this.jsonObject = jsonObject;
	}
}